cmdshell.cmd.touch = {
	help : 'create files',
	run : function(res){
		cmdshell.debuger('[CMD] Touch is running');
		
		var arr = res.split(" "), len = arr.length, b = false, c=0;
		
		if(!arr[1]){
			return 'Missing File name parameter';
		}else{
			for(var j=1; j<len; j++){
				b = false;
				for(var i = 0, dLen=cmdshell.dirs['.'].length;i<dLen;i++){
					if(arr[j]==cmdshell.dirs['.'][i])
						b = true;
				}
				if(!b){
					cmdshell.dirs['.'].push(arr[j]);
					c++;
				}
			}
			return '('+c+') File(s) created ';
			//return ' ';
		}
	}
}

